package com.wwq.learn_jpa.model.enums;

public enum ExceptionMessageType {

    MESSAGE_IS_NULL(0001,"上传信息不能为空");

    private int code;
    private String message;

    private ExceptionMessageType(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getMessage() {
        return message;
    }

    public int getCode() {
        return code;
    }
}
